charge of that [6] .nice thing about the repository pattern is that it makes it easier to unit test your application easier to maintain your application since all the data access logic is in its own object, and lastly it makes it easy to change data access later. If you want to switch from a local database to a cloud based database or other DBMS, it s easy with the repository pattern.view-controller is an architectural pattern used in software engineering. Successful use of the pattern isolates business logic from user interface considerations, resulting in an application where it is easier to modify either the visual appearance of the application or the underlying business rules without affecting the other. In MVC, the model represents the information of the application and the business rules used to manipulate the data and the view corresponds to elements of the user interface such as text, checkbox items, and so forth. Moreover the controller manages details involving the communication to the model of user actions such as keystrokes and mouse movements [7] .testing is a software development process in which the smallest testable parts of an application, called units, are individually and independently scrutinized for proper operation. Unit testing is often automated but it can also be done manually. This testing mode is a component of XP, a pragmatic method of software development that takes a meticulous approach to building a product by means of continual testing and revision. All tests have been created with one aim, to improve the quality of program code, to make applications and systems more reliable and stable [8] .diagrams below present all modules and technologies used in the system. By following the diagram there can be seen how the project is adaptive and dynamic.
Figure 2.12 Project architecture divided for subsystem
Figure 2.13 Relations of the technologies used in the project
2.2.4 Function and purpose of individual components of the designed systempart of the diploma work represents well detailed description of the functions and purposes of the components. In order to get a clear and detailed description here was taken methodology called class diagram.diagrams are the mainstay of object-oriented analysis and design. Class diagrams show the classes of the system, their interrelationships including inheritance, aggregation and association, and the operations and attributes of the classes. Class diagrams are used for a wide variety of purposes, including both conceptual and domain modeling and detailed design modeling.classes are divided by MVC pattern methodology ie into three big groups: controller, models and views. There are some other divisions for additional classes and scripts.
Figure 2.14 Class diagram of the project
2.15 is the parts of the diagram above, and has more specific and detailed information. The diagram below represents all project methods.
Figure 2.15 Class diagram of the project (Controller)
Figure 2.16 Class diagram of the project (Model, additional classes and scripts)
next two diagrams describe other subsystems in detail of the system. The first one is the relation between the repository and entity framework.
Figure 2.17 Relation between repository and entity framework
Figure 2.18 Code first realization of the system
3 EXPERIMENTAL PART
this part practical examples of the system are demonstrated. This part is intended to describe real examples for user and show the interface of the system. Demonstration and validation of the developed system was carried out to test it. The experimental part was divided into three parts, such as a demonstration of the Manager functions, Patient features and Doctor user functions. At the first order is Manager functions:
. 1 Manager type user functions
At the beginning of the each subpart the main page of the users is shown. From this point the other functions will be shown.
Figure 3.1.1 Government user main page
The images below the functions are linked with organization object. Organization is a type of medical center e.g. hospital, polyclinic and so forth. Now let s create a new organization and see all created organization and the created new organization too.
Figure 3.1.2 Creating a new organization
After creating a new organization, it will be seen in the drop down list below. Moreover it is possible to get details of the selected organization by clocking Get ...