public ActionResult AddClient(Client _Client) { try { int _ClientID = _iClientService.addClient(Mapper.Map <MMC.MMCService.ClientService.Client>(_Client)); return(Json(_ClientID, GlobalConst.ContentTypes.TextHtml)); } catch { return(Json(0)); } }
public ActionResult AddClient(Client _Client) { try { int _ClientID = _iClientService.addClient(Mapper.Map <MMC.MMCService.ClientService.Client>(_Client)); return(Json(_ClientID, GlobalConst.ContentTypes.TextHtml)); } catch { return(Json(0)); } }