Example #1
0
 public bool CreateTask(Model.TaskModel task)
 {
     using (_connectionService = _getWcfConnectionService())
     {
         return _connectionService.RemoteProxy.CreateTask(task);
     }
 }
Example #2
0
 public bool DeleteTask(int id)
 {
     using (_connectionService = _getWcfConnectionService())
     {
         return _connectionService.RemoteProxy.DeleteTask(id);
     }
 }
Example #3
0
 public bool CreateProject(Model.ProjectModel project)
 {
     using (_connectionService = _getWcfConnectionService())
     {
         return _connectionService.RemoteProxy.CreateProject(project);
     }
 }
Example #4
0
 public bool CreateSlot(Model.SlotModel slot)
 {
     using (_connectionService = _getWcfConnectionService())
     {
         return _connectionService.RemoteProxy.CreateSlot(slot);
     }
 }
Example #5
0
 public IEnumerable<Model.PriorityModel> GetAllPriorities()
 {
     using (_connectionService = _getWcfConnectionService())
     {
         return _connectionService.RemoteProxy.GetAllPriorities();
     }
 }
Example #6
0
 public bool UpdateCreatedUser(Model.UserModel user, string salt)
 {
     using (_connectionService = _getWcfConnectionService())
     {
         return _connectionService.RemoteProxy.UpdateCreatedUser(user, salt);
     }
 }
Example #7
0
 public bool UpdateUser(Model.UserModel user)
 {
     using (_connectionService = _getWcfConnectionService())
     {
         return _connectionService.RemoteProxy.UpdateUser(user);
     }
 }
Example #8
0
 public void InitializeTypes()
 {
     using (_connectionService = _getWcfConnectionService())
     {
         _connectionService.RemoteProxy.InitializeTypes();
     }
 }
Example #9
0
 public void SetSalt(string userName, string salt)
 {
     using (_connectionService = _getWcfConnectionService())
     {
         _connectionService.RemoteProxy.SetSalt(userName, salt);
     }
 }
Example #10
0
 public Model.UserModel GetUserById(int id)
 {
     using (_connectionService = _getWcfConnectionService())
     {
         return _connectionService.RemoteProxy.GetUserById(id);
     }
 }
Example #11
0
 public string GetSaltByUserName(string userName)
 {
     using (_connectionService = _getWcfConnectionService())
     {
         return _connectionService.RemoteProxy.GetSaltByUserName(userName);
     }
 }
Example #12
0
 public Model.PriorityModel GetPriorityById(int id)
 {
     using (_connectionService = _getWcfConnectionService())
     {
         return _connectionService.RemoteProxy.GetPriorityById(id);
     }
 }
Example #13
0
 public Model.CategoryModel GetCategoryById(int id)
 {
     using (_connectionService = _getWcfConnectionService())
     {
         return _connectionService.RemoteProxy.GetCategoryById(id);
     }
 }
Example #14
0
 public IEnumerable<Model.UserModel> GetAllUsers()
 {
     using (_connectionService = _getWcfConnectionService())
     {
         return _connectionService.RemoteProxy.GetAllUsers();
     }
 }