// GET: EmployeePositions
 public JsonResult Index()
 {
     return(Json(
                SQLConnectionHandler.GetInstance()
                .Execute(SQLCommand.SelectAllEmployeesPositions()).GetResult(),
                JsonRequestBehavior.AllowGet
                ));
 }
 public bool Delete(EmployeePosition position)
 {
     if (position.Id < 0)
     {
         return(false);
     }
     SQLConnectionHandler.GetInstance()
     .Execute(SQLCommand.DeleteEmployeesPositions(position), true);
     return(true);
 }
 public bool Insert(EmployeePosition position)
 {
     SQLConnectionHandler.GetInstance()
     .Execute(SQLCommand.InsertEmployeesPositions(position), true);
     return(true);
 }