public TeacherVM Post([FromBody] UserCM value)
        {
            UserService service = new UserService();
            User        newUser = service.InsertUser(value.ToEntity());

            return(BaseVM <object> .ToModel <TeacherVM>(newUser));
        }
 public void Put(string username, [FromBody] UserCM value)
 {
     value.Username = username;
     service.Update(value.ToEntity());
 }