private ProfileResponse(bool success, string message, UserCustomNotificationView customNotification) : base(success, message) { CustomNotification = customNotification; }
public ProfileResponse(UserCustomNotificationView CustomNotification) : this(true, ClientMessageConstant.Success, CustomNotification) { }
public async Task <IActionResult> UserCustomNotificationAsync([FromBody] UserCustomNotificationView view) { var result = await _service.UserCustomNotificationAsync(view); return(Ok(result)); }