public Calisan SelectCalisanById(int CalisanId)
 {
     try
     {
         Calisan responseEntitiy;
         using (var repo = new CalisanRepository())
         {
             responseEntitiy = repo.SelectedById(CalisanId);
             if (responseEntitiy == null)
             {
                 throw new NullReferenceException("Calisan doesnt exists!");
             }
         }
         return(responseEntitiy);
     }
     catch (Exception ex)
     {
         LogHelper.Log(LogTarget.File, ExceptionHelper.ExceptionToString(ex), true);
         throw new Exception("BusinessLogic:CalisanBusiness::SelectCalisanById::Error occured.", ex);
     }
 }