Exemple #1
0
        public ResponseObject <bool> UpdateProfile(ITSupporterUpdateProfileAPIViewModel model)
        {
            var iTSupporterService = this.Service <IITSupporterService>();

            var result = iTSupporterService.UpdateProfile(model);

            return(result);
        }
Exemple #2
0
        public HttpResponseMessage UpdateProfile(ITSupporterUpdateProfileAPIViewModel model)
        {
            var result = _ITSupporterDomain.UpdateProfile(model);

            return(Request.CreateResponse(HttpStatusCode.OK, result));
        }