public async Task <ServiceResponse> SaveList([FromBody] List <T> param) { try { ServiceResponse res = new ServiceResponse(); res.Data = await _baseBL.SaveList(param, curentType); return(res); } catch (Exception e) { return(_baseBL.Error(e)); } }
public async Task <ServiceResponse> SaveList([FromBody] List <T> param) { try { ServiceResponse res = new ServiceResponse(); res.Data = await _baseBL.SaveList(param, curentType); return(res); } catch (Exception e) { return(_baseBL.Error(e)); } }