Пример #1
0
 /// <summary>
 /// This Function is used to get list of all the States from Database.
 /// </summary>
 public static List <State> GetAll()
 {
     return(StateDA.GetAll());
 }
Пример #2
0
 /// <summary>
 /// This Function is used to get Details of the State from Database.
 /// </summary>
 public static State GetDetails(int id)
 {
     return(StateDA.GetDetails(id));
 }
Пример #3
0
 /// <summary>
 /// This Function is used to Update previously added State in database and is performed by SuperAdmin Only.
 /// </summary>
 public static bool Update(State info)
 {
     return(StateDA.Update(info));
 }
Пример #4
0
 /// <summary>
 /// This Function is used to Delete previously added State from database and is performed by SuperAdmin Only.
 /// </summary>
 public static bool Delete(State info)
 {
     return(StateDA.Delete(info));
 }
Пример #5
0
 /// <summary>
 /// This Function is used to add new State to database and is performed by SuperAdmin Only.
 /// </summary>
 public static bool Add(State info)
 {
     return(StateDA.Add(info));
 }