Ejemplo n.º 1
0
        public JsonResult EditCellPhoneNumber(CellPhoneNumberModel cellPhoneNumber)
        {
            var input    = CellPhoneNumberMapper.EditCellPhoneNumber(cellPhoneNumber);
            var response = cellPhoneNumbersService.EditCellPhoneNumber(input);

            return(new JsonResult(response)
            {
                StatusCode = response.StatusCode
            });
        }
Ejemplo n.º 2
0
 public static CellPhoneNumbers SaveCellPhoneNumber(CellPhoneNumberModel cellPhoneNumber)
 {
     return(Mapper.Map(cellPhoneNumber, new CellPhoneNumbers()));
 }