コード例 #1
0
 /// <summary>
 /// this is the method for get all constituency.
 /// </summary>
 /// <returns></returns>
 public IList <ConstituencyResponseModel> GetAllConstituency()
 {
     try
     {
         return(constituencyRL.GetAllConstituency());
     }
     catch (Exception)
     {
         throw;
     }
 }
 /// <summary>
 /// It fetchs all the Constituency
 /// </summary>
 /// <returns>List of all Constituency</returns>
 public List <ConstituencyAddResponseModel> GetAllConstituency()
 {
     try
     {
         return(_constituencyRepository.GetAllConstituency());
     }
     catch (Exception e)
     {
         throw new Exception(e.Message);
     }
 }