public List <UserPOEMapping> GetMyAllUsers(int userId, int subscriptionid) { try { BusinessLogic.Common.Common common = new BusinessLogic.Common.Common(); return(common.GetMyAllUsers(userId, subscriptionid)); } catch (Exception e) { WebOperationContext.Current.OutgoingResponse.StatusCode = HttpStatusCode.PreconditionFailed; WebOperationContext.Current.OutgoingResponse.StatusDescription = e.Message; BusinessLogic.Common.Common common = new BusinessLogic.Common.Common(); common.CreateErrorLog(userId, "GetMyAllUsers", e.Message, 0); } return(null); }