Ejemplo n.º 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());
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 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));
 }