public HttpResponseMessage PostTechnician(TechnicianDto Technician)
        {
            ControllerFactory.GetTechnicianController().Create(Technician);
            var response = Request.CreateResponse<TechnicianDto>(HttpStatusCode.Created, Technician);

            return response;
        }
        public void ReverseFromTechnicianDtoToTechnician()
        {
            TechnicianDto Tech = new TechnicianDto()
            {
                ID = 2,
                Username = "******",
                FriendlyName = "Lille Jens"
            };
            AbstractConverter<Technician, TechnicianDto> converter = new TechnicianConverter();

            Technician newTech = converter.Revers(Tech);

            Assert.AreEqual(Tech.ID, newTech.TechnicianId);
            Assert.AreEqual(Tech.Username, newTech.Username);
            Assert.AreEqual(Tech.FriendlyName, newTech.FriendlyName);
        }
 public void PutTechnician(TechnicianDto Technician)
 {
     ControllerFactory.GetTechnicianController().Update(Technician);
 }